﻿using System;
using System.Windows.Forms;
using ChatServerApp.GUI;

namespace ChatServerApp
{
    static class Program
    {
        /// <summary>
        /// Der Haupteinstiegspunkt für die Anwendung.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (System.IO.File.Exists("srv.cfg"))
            {
                Tools.Tools.UpdateServer();
            }
            Application.Run(new ServerApp());
        }
    }
}
